package com.dgut.spring.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

import com.dgut.spring.service.UserService;

@Controller
public class HelloController {
	
	@Autowired
	private UserService userService;
	public void sayHello() {
		userService.sayHello();
	}
}
